package com.syaccp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import com.syaccp.model.Staff;
import com.syaccp.model.SysDept;
import com.syaccp.model.TOrderDetail;
import com.syaccp.response.StaffTaskDate;

import java.util.List;

public interface StaffService extends IService<Staff> {
    PageInfo<Staff> QueryAllStaffByPage(Staff staff,Integer index);

    Integer QueryStaffMakeNum(Staff staff);

    StaffTaskDate QueryMakeNameTaskDate(Staff staff);

    List<SysDept> QueryCompany();

    Integer EndCurrentStaffState(Integer id);
    List<SysDept> QueryMakeGroup(Integer id);
    PageInfo<TOrderDetail>QueryWaitingTask();


    List<Staff> QueryStaffMsg(Staff staff);

    Integer AssignmentOrder(TOrderDetail orderDetail);

    Staff QueryStaffById(Integer id);

    Integer UpdateStaffStatus(Staff staff);

    Integer UpdateStatusInMake(Integer Id);


    List<Staff> queryStaffInfo();
}
